
package com.hgk.common.common.ui.model;


import android.os.Parcel;
import android.os.Parcelable;

public class PhotosBean implements Parcelable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String pic_path="";
	private int is_select=0;
    private String rsid;
    private String picName;

    public String getPicName() {
        return picName;
    }

    public void setPicName(String picName) {
        this.picName = picName;
    }

    public int getPosition() {
        return position;
    }

    public String getPicurl() {
        return picurl;
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl;
    }

    private String picurl;
    public void setPosition(int position) {
        this.position = position;
    }
    private int position;
    public String getRsid() {
        return rsid;
    }

    public void setRsid(String rsid) {
        this.rsid = rsid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    private String content;
    public String getCoverpic() {
        return coverpic;
    }

    public void setCoverpic(String coverpic) {
        this.coverpic = coverpic;
    }

    public String getSkillname() {
        return skillname;
    }

    public void setSkillname(String skillname) {
        this.skillname = skillname;
    }

    public String getIsrole() {
        return isrole;
    }

    public void setIsrole(String isrole) {
        this.isrole = isrole;
    }

    private String isrole;
    private String coverpic;
    private String skillname;

    public String getPic_path() {
		return pic_path;
	}
	public void setPic_path(String pic_path) {
		this.pic_path = pic_path;
	}
	
	public int getIs_select() {
		return is_select;
	}
	public void setIs_select(int is_select) {
		this.is_select = is_select;
	}
	@Override
	public int describeContents() {
		
		return 0;
	}
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(pic_path);
		dest.writeInt(is_select);
        dest.writeString(content);
        dest.writeString(isrole);
        dest.writeString(rsid);
	}
	public static final Parcelable.Creator<PhotosBean> CREATOR = new
			Creator<PhotosBean>() {
				@Override
				public PhotosBean createFromParcel(Parcel source) {
					PhotosBean photo=new PhotosBean();
					photo.setPic_path(source.readString());
					photo.setIs_select(source.readInt());
                    photo.setContent(source.readString());
                    photo.setIsrole(source.readString());
                    photo.setRsid(source.readString());
					return photo;
				}

				@Override
				public PhotosBean[] newArray(int size) {
					return new PhotosBean[size];
				}
			};
}
